﻿<%@ Page Title="单页面栏目内容编辑" Language="C#" MasterPageFile="~/Masters/Account.Master"
    AutoEventWireup="true" CodeBehind="SinglePageEdit.aspx.cs" Inherits="LEARNREN.COM.WebSite.Administrator.SinglePageEdit"
    ValidateRequest="false" %>

<%@ Register Src="../UserDefinedControls/CatalogueTree.ascx" TagName="CatalogueTree"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../editor/ckeditor.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="common_table">
        <tr>
            <td class="common_table_left">
                <uc1:CatalogueTree ID="CatalogueTree1" runat="server" OnSelectedNodeChanged="CatalogueTree1_SelectedNodeChanged" />
            </td>
            <td>
                <fieldset class="changePassword">
                    <legend>栏目内容编辑</legend>
                    <p>
                        <asp:HiddenField ID="txtId" runat="server" />
                        <asp:Label ID="CatalogueTitleLabel" runat="server" AssociatedControlID="txtCatalogueTitle">标题:</asp:Label>
                        <asp:TextBox ID="txtCatalogueTitle" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="txtCatalogueTitleRequired" runat="server" ControlToValidate="txtCatalogueTitle"
                            CssClass="failureNotification" ErrorMessage="必须填写“标题”。" ToolTip="必须填写“标题”。" ValidationGroup="BannerValidationGroup">*</asp:RequiredFieldValidator>
                    </p>
                    <p>
                        <asp:Label ID="LabelReDirectUrl" runat="server" AssociatedControlID="txtReDirectUrl">转向地址:</asp:Label>
                        <asp:TextBox ID="txtReDirectUrl" runat="server" CssClass="textEntry"></asp:TextBox><span><asp:CheckBox
                            runat="server" ID="ckbIsRedirect" /></span>
                        <asp:Label ID="msgLabel" runat="server" ForeColor="Red"></asp:Label>
                    </p>
                    <p>
                        <asp:Label ID="CatalogueContentLabel" runat="server" AssociatedControlID="txtCatalogueContent">栏目内容:</asp:Label>
                        <asp:TextBox ID="txtCatalogueContent" TextMode="MultiLine" runat="server" CssClass="ckeditor"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="txtCatalogueContentRequiredFieldValidator" runat="server"
                            ControlToValidate="txtCatalogueContent" CssClass="failureNotification" ErrorMessage="必须填写“栏目内容”。"
                            ToolTip="必须填写“栏目内容”。" ValidationGroup="BannerValidationGroup">*</asp:RequiredFieldValidator>
                    </p>
                    <p class="submitButton">
                        <asp:Button ID="CancelPushButton" runat="server" CausesValidation="False" CommandName="Cancel"
                            Text="取消" />
                        <asp:Button ID="SavePushButton" runat="server" CommandName="ChangePassword" Text="保存"
                            ValidationGroup="BannerValidationGroup" OnClick="SavePushButton_Click" />
                    </p>
                </fieldset>
            </td>
        </tr>
    </table>
</asp:Content>
